package com.kingyun.gpsinspection.purificationservice.dao.mapper.tdm;


import com.kingyun.gpsinspection.purificationservice.facade.model.tdm.HazardIdentification;
import com.kingyun.gpsinspection.purificationservice.facade.model.tdm.HazardIdentificationVo;

/**
 * 危害因素鉴别Mapper
 */
public interface HazardIdentificationMapper {
    int deleteByPrimaryKey(String hazardIdentificationId);

    int insert(HazardIdentification record);

    int insertSelective(HazardIdentification record);

    HazardIdentification selectByPrimaryKey(String hazardIdentificationId);

    int updateByPrimaryKeySelective(HazardIdentification record);

    int updateByPrimaryKey(HazardIdentification record);

    HazardIdentificationVo selectByPrimaryKeyNew(String id);

    int updateByPrimaryKeyNew(HazardIdentification record);

    int updateCurrentNodeById(HazardIdentification hazardIdentification);

    HazardIdentificationVo findVoByPiPiid(String piPiid);

    int updateTaskStatusById(HazardIdentification hazardIdentification);

    int updateFinishById(HazardIdentification hazardIdentification);

    int updateAuditStatusById(HazardIdentification hazardIdentification);
}
